﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;

using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;



public partial class ContentIndex : BasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string currentRoleId = CurrentAccount.GetUser().UserRole.RoleID;
        //string contentUrl = CurrentAccount.URL_DEFAULT_INDEX_URL;
        //if (currentRoleId == "01")
        //{
        //    //医院
        //    contentUrl = CurrentAccount.URL_HOSPITAL_INDEX_URL;
        //}
        //else if (currentRoleId == "02")
        //{
        //    //企业
        //    contentUrl = CurrentAccount.URL_ENTERPRISE_INDEX_URL;
        //}
        //else if (currentRoleId == "03")
        //{
        //    //中心机构
        //    contentUrl = CurrentAccount.URL_CENTER_INDEX_URL;
        //}
        ////根据登陆用户的角色 加载指定内容主页
        //Response.Redirect(contentUrl);
    }
}

